<?php
if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');
$session_name = session_name();
if (isset($_POST[$session_name])) {
	session_id($_POST[$session_name]);
}

const ADDON_PATH   =   './Addons/';
define ( 'APP_DEBUG', true );
define ( 'APP_PATH', './Application/' );
define ( 'RUNTIME_PATH', './Data/Runtime/' );
define ( 'ATTACH_PATH', './Data/Attachment' );
require './Core/ThinkPHP.php';